@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    /* color: #333;
    background-color: #ffffff; */
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    justify-content: center;
    min-width: 320px;
    min-height: 100vh;
    background-color: #f8f9fa;
}

#root {
    width: 100%;
    height: 100%;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover-bg);
}

/* Light Theme Scrollbar */
:root {
    --scrollbar-track-bg: #e2e8f0;
    --scrollbar-thumb-bg: #a2afbc;
    --scrollbar-thumb-hover-bg: #8d9db3;
}

/* Dark Theme Scrollbar */
.dark {
    --scrollbar-track-bg: #4a5568;
    --scrollbar-thumb-bg: #2d3748;
    --scrollbar-thumb-hover-bg: #1a202c;
}
